package labirinto;
/*
 * Oponente.java
 *
 * Created on May 6, 2007, 11:14 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

/**
 *
 * @author thiago
 */
public abstract class Oponente extends Thread
{
    protected boolean vivo;
    protected Jogo jogo;
    protected Thing myThing;

    
    /** Creates a new instance of Oponente */
    public Oponente(Jogo jogo)
    {
        this.vivo = true;
        this.jogo = jogo;
    }
    
    public void setThing(Thing t)
    {
        this.myThing = t;
    }
    
    public Thing getThing()
    {
        return this.myThing;
    }
    
    public abstract void vive();
    public abstract void morre();
}
